//
//@File    :	11.1_mytime0.h
//@Time    :	2021/08/29 09:06:12
//@Auther  :	Sun Sheng
//@Contact :	970340843@qq.com
//@Desc    :	Time class bedore operator overloading
//


#ifndef MYTIME0_H_
#define MYTIME0_H_

class Time
{
private:
    int hours;
    int minutes;
public:
    Time();
    Time(int h,int m=0);
    void AddMin(int m);
    void AddHr(int h);
    void Reset(int h=0,int m=0);
    Time Sum(const Time & t) const;
    void Show() const;
};

#endif	// MYTIME0_H_